package com.dongchedi.mapper;

import com.dongchedi.entity.ProductCategory;
import com.dongchedi.vo.FirstCategoryVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
/**
 * @author leibidong
 * @description 商品分类mapper对象
 * @date 2021/6/23
 */
@Mapper
@Component
public interface ProductCategoryMapper {
   public List<FirstCategoryVO> firstQuery(String categoryName,Integer firstCategoryLevel);
   public List<FirstCategoryVO> secondQuery(String categoryName,Integer secondCategoryLevel);
   public  List<ProductCategory> firstSearchSecondName(String firstCategoryName);
}
